// index.scss
.main-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;

  .title {
    text-align: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    backdrop-filter: blur(10px);
  }
}

.son-container {
  .son-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);

    &:hover {
      background: #ff5252;
      transform: translateY(-3px);
      box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
    }

    &:active {
      transform: translateY(1px);
      box-shadow: 0 2px 10px rgba(255, 107, 107, 0.4);
    }

    &:focus {
      outline: none;
      box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.5);
    }
  }
}

// 响应式设计
@media (max-width: 768px) {
  .main-container {
    margin: 1rem;
    padding: 1.5rem;

    .title {
      font-size: 1.5rem;
    }

    .content {
      padding: 1rem;
    }
  }

  .son-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}
